<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <script src="__PUBLIC__/bootstrap/js/jquery.min.js"/>
    <script src="__PUBLIC__/bootstrap/js/bootstrap.min.js"
             type="text/javascript"></script>
</head>
<body>
<table class="table table-bordered">
    <tr>
        <th>头像</th>
        <th>用户名</th>
        <th>真实姓名</th>
        <th>邮箱</th>
        <th>电话</th>
        <th>状态</th>
        <th>审核信息</th>
        <th>明星作者</th>
        <th>首页推荐</th>
        <th>操作</th>
    </tr>
    <!--可以接受$users变量-->
    <volist name="users" id="vo">

        <tr>
            <td><img src="__PUBLIC__/uploads/photo/{$vo.photo}" width="100"></td>
            <!--__PUBLIC__表示public目录-->
            <td>{$vo.username}</td>
            <td>{$vo['realname']}</td>
            <td>{$vo.email}</td>
            <td>{$vo.tele}</td>
            <td>
                <if condition="$vo.state eq 0">禁用
                    <elseif condition="$vo.state eq 1"/>普通
                    <else/>禁言</if>
            </td>
            <!--0 禁用 1 普通 2 禁言-->
            <td>{$vo.verifyinfo}</td>
            <td>
                <if condition="$vo.isstar eq 0">是
                    <else/>否</if>
            </td>
            <td>
                <if condition="$vo.isfirst eq 0">是
                    <else/>否</if>
            </td>
            <td>修改<br>
                删除<br>
                取消明星作者<br>
                取消首先推荐<br>
                禁用</br>
            </td>
        </tr>
    </volist>
</table>
<div class="pagination">
    {$page}
</div>
</body>
</html>